package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 入库管理对象 ds_inboundmanagement
 * 
 * @author ruoyi
 * @date 2024-05-31
 */
public class DsInboundmanagement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 入库记录ID，唯一标识符 */
    private Long inboundId;

    /** 车辆ID，关联到车辆信息表 */
    @Excel(name = "车辆ID，关联到车辆信息表")
    private Long vehicleId;

    /** 入库时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入库时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date inboundDateTime;

    /** 入库操作员 */
    @Excel(name = "入库操作员")
    private String inboundBy;

    public void setInboundId(Long inboundId) 
    {
        this.inboundId = inboundId;
    }

    public Long getInboundId() 
    {
        return inboundId;
    }
    public void setVehicleId(Long vehicleId) 
    {
        this.vehicleId = vehicleId;
    }

    public Long getVehicleId() 
    {
        return vehicleId;
    }
    public void setInboundDateTime(Date inboundDateTime) 
    {
        this.inboundDateTime = inboundDateTime;
    }

    public Date getInboundDateTime() 
    {
        return inboundDateTime;
    }
    public void setInboundBy(String inboundBy) 
    {
        this.inboundBy = inboundBy;
    }

    public String getInboundBy() 
    {
        return inboundBy;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("inboundId", getInboundId())
            .append("vehicleId", getVehicleId())
            .append("inboundDateTime", getInboundDateTime())
            .append("inboundBy", getInboundBy())
            .toString();
    }
}
